package javax.microedition.lcdui.game;

import javax.microedition.lcdui.Graphics;

public abstract class Layer {
  private boolean visible;

  public void setPosition(final int x, final int y) {

  }

  public void move(final int dx, final int dy) {

  }

  public final int getX() {
    return -1;
  }

  public final int getY() {
    return -1;
  }

  public final int getWidth() {
    return -1;
  }

  public final int getHeight() {
    return -1;
  }

  public void setVisible(final boolean visible) {
    this.visible = visible;
  }

  public final boolean isVisible() {
    return visible;
  }

  public abstract void paint(Graphics g);
}